package com.elitect.ftptransfer.module.main.handler;

import java.util.List;

import com.elitect.ftptransfer.module.main.data.FileItem;

public interface OnFileActionHandler
{
    /**
     * Do action on file. It maybe "upload" or "download"
     * 
     * @param fileItems
     *            the list of {@link FileItem}
     */
    void onFileAction(List<FileItem> fileItems);

    /**
     * Do create new folder. It may be from remote or local.
     * @param name the name of folder
     */
    void onCreateNewFolder(String name);
}
